import java.util.Scanner;
class Xiaomiing{
    public static void main(String[] args){
        System.out.println("请输入成绩：");
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        if (a>80){
            System.out.println("成绩为：A");
        }else if(a > 70 && a <80){
            System.out.println("成绩为：B");
        }else if(a >60 && a<70){
            System.out.println("成绩为：C");
        }else if(a <60){
            System.out.println("成绩为：D");
        }
        }
    }



